import com.dinmax.flash.draw.control.Control;

class com.dinmax.flash.draw.control.button.PressButton extends Control {
	
	private var label:String;
	private var tooltip:String;
	private var image:String; //path o linkageID
		
	function PressButton(container:MovieClip, name:String){
		super(container);
		setName(name);
	}
	
	public function getLabel():String{
		return label;
	}
	public function setLabel(label:String){
		this.label=label;
	}
	
	public function getTooltip():String{
		return tooltip;
	}
	public function setTooltip(tooltip:String){
		this.tooltip=tooltip;
	}
	
	public function getImage():String {
		return image;
	}

	public function setImage(image:String):Void {
		this.image = image;
	}
	
	public function select() {
		propagateSelectionEvent();
	}
	
}